<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow">
<title>{$Think.config.WEBTITLE}-登陆</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/style.css"/>
<script type="text/javascript" src="__PUBLIC__/admin/js/jquery-1.7.2.min.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="__PUBLIC__/admin/js/DD_belatedPNG.js"></script>
<![endif]-->
<script language="javascript" type="text/javascript">
$(function(){
  $('#changeVerify').click(function(){
  		 var timenow = new Date().getTime();		
         $(this).attr('src','__URL__/verify/d/'+timenow);
    });
	$('#username,#password').on('blur',function(){
		var $this=$(this);
		var $msg=$('#errotMsg');
		var value=$this.val();
		var type=$this.attr('type');
		var msg='';
		if(type=='text')
		{
			msg='请填写用户名';
		}else{msg='请填写密码';}
		if(value=='')
		{
			$msg.addClass('error').find('div').html(msg);
		}else
			{
				$msg.removeClass('error').find('div').html('{$Think.config.WEBTITLE}');
			}
	});
});
</script>
</head>
<body class="login_bk png_bg">
	<div class="loginWrap png_bg">
    	<div class="login_top">
        	<img src="__PUBLIC__/admin/images/logo.png" alt="{$Think.config.WEBTITLE}" class="png_bg"/>
        </div>
        <div class="login_content">
			<form action="__URL__/checkLogin" method="post">	
				<div class="notification information " id="errotMsg">
					<div>
						{$Think.config.WEBTITLE}
					</div>
					</div>
					<p class="clearfix">
						<label>用户名</label>
						<input type="text" class="text_input" name="username" id="username"/>
					</p>
					<p class="clearfix">
						<label>密码</label>
						<input type="password" class="text_input" name="password" id="password"/>
					</p>
					<p class="clearfix">
						<label>验证码</label>
                        <img src="__URL__/verify" class="login_verification"  alt="点击刷新验证码" id="changeVerify" style="cursor:pointer;"/>
						<input type="text" class="text_input text_verification"  name="verify" id="verify"/> 
					</p>                    
					<p>
						<input type="submit" value="登陆" class="public_button"/>
					</p>	
				</form>
       	</div>
    </div>
</body>
</html>
